Concrete and Abstract Interpretation: Better Together
نویسندگان
چکیده
Recent work in abstracting abstract machines provides a methodology for deriving sound static analyzers from a concrete semantics by way of abstract interpretation. Consequently, the concrete and abstract semantics are closely related by design. We apply Galois-unions as a framework for combining both concrete and abstract semantics, and explore the benefits of being able to express both in a single semantics. We present a methodology for creating such a unified representation using operational semantics and implement our approach with and A-normal form (ANF) λ-calculus for a CESK style machine in PLT Redex.
منابع مشابه
Strong Preservation of Temporal Fixpoint-Based Operators by Abstract Interpretation
Standard abstract model checking relies on abstract Kripke structures which approximate the concrete model by gluing together indistinguishable states. Strong preservation for a specification language L encodes the equivalence of concrete and abstract model checking of formulas in L. Abstract interpretation allows to design abstract models which are more general than abstract Kripke structures....
متن کاملConstraint-Based Abstract Semantics for Temporal Logic: A Direct Approach to Design and Implementation
Abstract interpretation provides a practical approach to verifying properties of infinite-state systems. We apply the framework of abstract interpretation to derive an abstract semantic function for the modal μ-calculus, which is the basis for abstract model checking. The abstract semantic function is constructed directly from the standard concrete semantics together with a Galois connection be...
متن کاملPurity Analysis: An Abstract Interpretation Formulation
Salcianu and Rinard present a compositional purity analysis that computes a summary for every procedure describing its side-effects. In this paper, we formalize a generalization of this analysis as an abstract interpretation, present several optimizations and an empirical evaluation showing the value of these optimizations. The Salcianu-Rinard analysis makes use of abstract heap graphs, similar...
متن کاملConstraint-Based Abstract Semantics for Temporal Logic: A Direct Approach to Design
interpretation and infinite state model checking In abstract interpretation we develop an abstract semantic function systematically from the standard (“concrete”) semantics. The formal framework is based on a Galois connection 〈L,vL〉 −−−→ ←−−− α γ 〈M,vM 〉 between the lattices 〈L,vL〉 and 〈M,vM 〉 which are the concrete and abstract semantic domains respectively. The functions α and γ are known as...
متن کاملThe SSA Representation Framework: Semantics, Analyses and GCC Implementation
Interpretation. The semantics of a programming language can be more or less precise, depending on the degree of detail captured by the description of program execution. The framework of abstract interpretation [CC77, CC79] can be used to automatically define several semantics layers, corresponding to different levels of precision. Each semantics layer is represented by a partially ordered set, ...
متن کامل